xen: __hvm_pci_intx_assert should check for gsis remapped onto pirqs
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 31 Aug 2011 14:23:34 +0000 (15:23 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 31 Aug 2011 14:23:34 +0000 (15:23 +0100)
commita7ffe0fdecc06a1518622e2774b3567fa78f378b
tree452bb02b72b22bf256ca974cefcb289bd7ca853b
parent79858fee307c1b47eef66a0c280d23b650e8d906
xen: __hvm_pci_intx_assert should check for gsis remapped onto pirqs

If the isa irq corresponding to a particular gsi is disabled while the
gsi is enabled, __hvm_pci_intx_assert will always inject the gsi
through the violapic, even if the gsi has been remapped onto a pirq.
This patch makes sure that even in this case we inject the
notification appropriately.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/x86/hvm/irq.c